<?php /* Smarty version 2.6.18, created on 2009-05-07 07:58:30
         compiled from ua-admin/help_index.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'ua-admin/help_index.html', 30, false),array('function', 'html_options', 'ua-admin/help_index.html', 69, false),array('modifier', 'truncate', 'ua-admin/help_index.html', 33, false),array('modifier', 'strip_tags', 'ua-admin/help_index.html', 33, false),array('modifier', 'nl2br', 'ua-admin/help_index.html', 36, false),)), $this); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $this->_tpl_vars['Charset']; ?>
">
<title>控制台_<?php echo $this->_tpl_vars['sitetitle']; ?>
</title>
<link rel="stylesheet" type="text/css" href="css/main.css">
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/general.js"></script>
<script src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/prototype.js"></script>
<script language="javascript" src="<?php echo $this->_tpl_vars['JS_PATH']; ?>
js/admin.js"></script>
</head>

<body>
<a name="top" />
<!-- 位置 -->
<table width="100%" border="0" cellpadding="2" cellspacing="6"><tr><td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
<tr><td>
<div align="left"><a href="#" onClick="parent.main.location='home.php';return false;">控制台</a>&nbsp;&raquo;&nbsp;帮助文件管理</div></td></tr>
</table>
<br />
<!-- 标题 -->
<form name="listfrm" action="" method="post">
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
<tr class="header" align="center"><td><input name="helpidAll" type="checkbox" id="helpidAll" onClick="uaCheckAll(this, 'helpid[]')" title="全选"></td>
<td><span>标题</span></td>
<td>内容</td>
<td>类别</td>
<td>状态</td>
<td><div style="float:right; margin-right:4px; padding-bottom:9px"><img onClick="collapse_change('1')" id="menuimg_1" src="./images/menu_reduce.gif" border="0"/></div></td></tr>
<tbody id="menu_1" style="display: yes">
<?php $_from = $this->_tpl_vars['HelpList']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['hlist'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['hlist']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['hl']):
        $this->_foreach['hlist']['iteration']++;
?>
<tr bgcolor="<?php echo smarty_function_cycle(array('values' => "#eeeeee,#ffffff"), $this);?>
" align="center">
<td><input name="helpid[]" type="checkbox" id="helpid[]" title="<?php echo $this->_tpl_vars['hl']['HelpId']; ?>
" value="<?php echo $this->_tpl_vars['hl']['HelpId']; ?>
" onClick="uaCheckItem(this, 'helpidAll')"></td>
<td><a href="./help.php?action=mod&id=<?php echo $this->_tpl_vars['hl']['HelpId']; ?>
" title="<?php echo $this->_tpl_vars['hl']['Title']; ?>
">
  <?php echo ((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['hl']['HelpTitle'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 30) : smarty_modifier_truncate($_tmp, 30)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)); ?>

</a></td>
<td><a href="./help.php?action=mod&id=<?php echo $this->_tpl_vars['hl']['HelpId']; ?>
" title="<?php echo ((is_array($_tmp=$this->_tpl_vars['hl']['HelpContent'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 100) : smarty_modifier_truncate($_tmp, 100)); ?>
">
  <?php echo ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=$this->_tpl_vars['hl']['HelpContent'])) ? $this->_run_mod_handler('truncate', true, $_tmp, 50) : smarty_modifier_truncate($_tmp, 50)))) ? $this->_run_mod_handler('strip_tags', true, $_tmp) : smarty_modifier_strip_tags($_tmp)))) ? $this->_run_mod_handler('nl2br', true, $_tmp) : smarty_modifier_nl2br($_tmp)); ?>

</a></td>
<td><?php echo $this->_tpl_vars['hl']['HelpTypeTitle']; ?>
</td>
<td><?php echo $this->_tpl_vars['hl']['HelpStatus']; ?>
</td>
<td><a href="<?php echo $_ENV['PHP_SELF']; ?>
?action=del&del=1&id=<?php echo $this->_tpl_vars['hl']['HelpId']; ?>
"><div style="float:right; margin-right:4px; padding-bottom:9px"><img src="<?php echo $this->_tpl_vars['tpl_img_path']; ?>
admin/delete.gif" border="0" alt="删除" align="absmiddle"></a></div></td>
</tr>
<?php endforeach; else: ?>
<tr bgcolor="#ffffff">
<td colspan="7" align="center"><strong>目前没有任何数据</strong></td>
</tr>
<?php endif; unset($_from); ?>
</tbody>
<!-- 分页 -->
<tr align="center"><td class="altbg1" colspan="7"><?php echo $this->_tpl_vars['ByPages']; ?>
</td></tr>
<tr class="header" bgcolor="#ffffff">
<td colspan="5"><input class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'" type="submit" name="del" value="删除" onClick="return confirmAction('确定删除吗?');"></td>
<td><div align="center"><a title="返回顶部" href="#top"><img id="go_top" src="./images/go_top.gif" border="0" style="vertical-align:middle;"/></a></div></td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<!-- 快速添加 -->
<form name="quickaddfrm" action="" method="post">
<table width="98%" border="0" cellpadding="0" cellspacing="0" class="tableborder" align="center">
<tr class="header"><td colspan="5"><div align="left">快速添加</div></td></tr>
<tr>
	<td width="9%"><div align="right">标题 :</div></td>
	<td width="15%"><input name="help[title]" type="text" id="help_title"></td>
	<td width="10%"><div align="right">类别 :</div></td>
	<td><select name="help[helptype_id]">
			<option value="0">请选择类别</option>
		  <?php echo smarty_function_html_options(array('options' => $this->_tpl_vars['AllHelpTypes'],'selected' => $this->_tpl_vars['h']['helptype_id']), $this);?>

		</select></td>
	<td><input name="save" type="submit" id="save" value="添加" class="btn_mouseout" onMouseOver="this.className='btn_mouseover'" onMouseOut="this.className='btn_mouseout'"></td>
  </tr>
</table>
</form>
<!-- 结束new -->
</body>
</html>